import { Request, RequestForExportFile } from '@/plugins/supplier-request'
import { SUPPLIER_LIBRARY_PATH, EXPORT_PATH } from './../constans'

// 供应商管理 - 供应商海量库 - 列表查询
export const querySupplierListService = (data) => {
  return Request(`${SUPPLIER_LIBRARY_PATH}/query-all`, 'post', data)
}

// 供应商管理 - 供应商海量库 - 导出文件
export const exportSupplierFileService = (data) => {
  return RequestForExportFile(`${EXPORT_PATH}/export-query-all`, 'get', data)
}
